﻿<UserControl x:Class="UIControlWPF.Views.InfoView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:UIControlWPF.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             DataContext="{Binding Main, Source={StaticResource Locator}}" Height="500" Width="400">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="460*"/>
            <RowDefinition Height="10*"/>
        </Grid.RowDefinitions>
        <DataGrid x:Name="logList" 
                  Grid.Row="1" 
                  ItemsSource="{Binding LogsList}" 
                  ColumnWidth="*"  Margin="0,10,0,28"
                  RenderTransformOrigin="0.5,0.5"
                  IsReadOnly="True" >
        </DataGrid>
        <TextBlock TextWrapping="Wrap"
                    TextAlignment="Center" Text="Logs" FontWeight="Bold" FontSize="15"/>
        

    </Grid>
</UserControl>